<template>
<div>
    <h2>接收到的值</h2>{{mgs}}
</div>
</template>

<script>
export default {
    props:['mgs']
}
</script>

<style scoped>

</style>